import { ICondition } from '../../interfaces';

/**
 * 向params condition中增加分页参数--当前页码
 */
export default function paging_set_index(condition: ICondition, index: number) {
	const paging = condition.paging || (condition.paging = {} as any);
	paging.index = index;
	return condition;
}
